From: Giovanni Campagna Date: Sun, 13 Oct 2013 00:10:22 +0000 (+0200) Subject: NetworkMenu: fix regression for VPN connections X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~3221 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=d084770cea7b470e52a8a09e5c9c3619dcfe3d0f;p=gnome-shell.git NetworkMenu: fix regression for VPN connections Fix regression from e898e2991087e7ccb17bc17f2eedd99a1f41152a, the code was moved from a method to a global function, but one call site was not updated. https://bugzilla.gnome.org/show_bug.cgi?id=710019 --- diff --git a/js/ui/status/network.js b/js/ui/status/network.js index d8b896c6f..f43428f2c 100644 --- a/js/ui/status/network.js +++ b/js/ui/status/network.js @@ -1526,7 +1526,7 @@ const NMApplet = new Lang.Class({ return (a instanceof NMClient.VPNConnection); }); vpnConnections.forEach(Lang.bind(this, function(a) { - this._ensureActiveConnectionProps(a); + ensureActiveConnectionProps(a, this._settings); })); this._vpnSection.setActiveConnections(vpnConnections);